/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xypdf.param;
import java.time.LocalDateTime;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;

/**
* 谱书参数类
 *
 * @author yanwei
 * @date 2023-05-05 15:44:28
*/
@Data
@ApiModel("谱书 查询条件")
public class XyPdfParam extends BaseParam {

    /**
     * 
     */
    @NotNull(message = "不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    @ApiModelProperty("")
    private String id;

    /**
     * 模板编号
     */
    @NotBlank(message = "模板编号不能为空，请检查templateId参数", groups = {add.class, edit.class})
    private String templateId;

    /**
     * 家谱编号
     */
    @NotBlank(message = "家谱编号不能为空，请检查logyId参数", groups = {add.class, edit.class})
    private String logyId;

    /**
     * 创建人的用户编号
     */
    @NotBlank(message = "创建人的用户编号不能为空，请检查userId参数", groups = {add.class, edit.class})
    private String userId;

    /**
     * 编者
     */
    @NotBlank(message = "编者不能为空，请检查author参数", groups = {add.class, edit.class})
    private String author;

    /**
     * 堂号
     */
    @NotBlank(message = "堂号不能为空，请检查hallHost参数", groups = {add.class, edit.class})
    private String hallHost;

    /**
     * 卷号
     */
    @NotBlank(message = "卷号不能为空，请检查rollHost参数", groups = {add.class, edit.class})
    private String rollHost;

    /**
     * 页眉谱名
     */
    @NotBlank(message = "页眉谱名不能为空，请检查headName参数", groups = {add.class, edit.class})
    private String headName;

}
